<%--
  Created by IntelliJ IDEA.
  User: 王毅
  Date: 2021/6/18
  Time: 9:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>修改用户信息</title>
</head>
<body>
<div id='loginHeader'>
  <span>修改用户信息</span>
  <hr size="3px" color="#2ca8be" />
</div>
<div id='photo'>
  <img src="images/icon.jpg" style="border-radius: 50%">
</div>
<div id='loginContent'>
  <form action="update" method="post" enctype="multipart/form-data">
    <label for="avatar" class="loginLabel">上传头像</label>
    <br/>
    <input type="file" name="avatar" id="avatar" />
    <br/>
    <label for="password" class="loginLabel">密码</label>
    <br/>
    <input id="password" class="loginInput" type="password" placeholder="请输入新密码" name="password" />
    <br/>
    <label for="username" class="loginLabel">昵称</label>
    <br/>
    <input id="username" class="loginInput" type="text" placeholder="请输入新昵称" name="username" />
    <br/>
    <label for="email" class="loginLabel">邮箱</label>
    <br/>
    <input id="email" class="loginInput" type="text" placeholder="请输入新邮箱" name="email" />
    <br/>
    <input type="submit" value="修改" id="registerBtn" onclick="return checkForm()"/>
  </form>
</div>
</body>
</html>
